package com.ktjy.t382.ch03.controller;


import com.ktjy.t382.ch03.entity.SysUser;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/userlist")
    public String userlist(SysUser sysUser,
                           @RequestParam(defaultValue = "1") int current,
                           @RequestParam(defaultValue = "5") int size) {
        return "user/list";
    }
}
